Implemented Location Flow; Removed most of the code in locations.js to use click and configure