Revert "Javascript Redirect on page instead of app"

This reverts commit 3dc384e7ef1b91d892240fd2978a045b178de5f4.