Plotting js files and Jquery updates