remove some fluff from the main.js