fixing stuffs in app.js
Merge pull request #12 from fgarbagnati/bug-fixing

fixing stuffs in app.js