Update main.coffee

styling of code