Added init.js from template