Modified window.onpopstate to call routeRequest, now serialize elements by name, removed unrelated methods