Enables js redirect