Added javascript redirects