Adds hacks.js to extension