Move app javascript into a standalone file.
No longer throw an alert, just warn in console.
HUD compass update