Fix php in top of main.js