make page.js pass on ie8