touched up basic front end, still not working much yet; refactored window.location.href into a helper method go()