Remove init.js, move required functionality to relevant files
Merge pull request #1867 from darkwing/init-js

Remove init.js, move required functionality to relevant files