edited javascript url and redirected from browser view