Javascript redirect instead of meta