Passed app.init directly as argument

Instead of the anonymous function