Fix all javascript breaking due to error in exponent.js.php file