Update app.js

Fix for browser detection so IE11 isn't detected as Firefox 11.