made external js file