Update Hacks.js to pass grunt