missing semicolon in js. Without it application does not start correctly.