Clean up index page coffeescript a bit