Passed app.init directly as argument

Instead of the anonymous function
Merge pull request #33 from boye/master

Minor improvement in main.js