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

make new page redirect use JS instead of headers