Load JavaScript synchronously.

This involves getting rid of `msgs`, so I've switched the location tracking
to use standard jQuery events.
Rename the home map JS file to match convention.
Merge branch 'synchronous-javascript'