added alert for incorrect url input, parsed json for response
extracted post handling method and stringifyed json objects being passed back into response
removed scripts not used in main.js from file
changed mustache into object instead of method. added checking for pathname and redirection- WOOOOOOO
refactored mustache into object, added get method which just wraps storage get