Changed JS For Dashboard Redirection