Rename core.php to core.js