I\'m getting an error that only appears on the great IE8, it points to the following function, specifically the line: return (expDate.getTime() > Date.now());
return (expDate.getTime() > Date.now());
IE 8 does not support Date.now. Implement it as :
if(!Date.now) { Date.now = function(){ return new Date().getTime();};}