Added startup.js and fixed a few things in main.js