OMG crazy test
Revert silly changes and add app URL
Fix bugs with window.location