Boilerplate main.js