adding js files and updating categories