Current location retrieval (via JS modules)

This adds two things:
* A module for grabbing and watching your current location.
* A minimal framework for working with modules in the JS code.