Fixing broken links in main .php for js