uploading javascript files