Moved most of location logic to JavaScript.
Fixes bugs.
Added support for supplied coordinates on the URL.
Updated to work with Bootstrap 3.0