rename js files to be clear for resource and api