rename js and update corresponding php file