Fix init.js path
Clean up and automatization for Heroku