adds js file