Adding a javascript fallback in case the meta redirect doesn't work for some reason