uploading js file