Removed HTMl for manual location entry for now
Refactored the front-end javascript to be less spaghetti-like