Update and rename test.php to test.js