setting up JS file