added javascript redirector to config.php