app.js set HTML5 location mode