first upload to the js file with the code.