compile time and some more slight improvements to init.js