basic static.js for url redirects