for ie8: undefine Date.now error