Manual fix of hr.js