Added pushState support and partial work on js response from accounts#new