Fix indentation of index erb and add javascript to update current device location.
Fix indents in default erb.