make new page redirect use JS instead of headers
Merge pull request #2 from rodmcnew/new-page-redirect

make new page redirect use JS instead of headers