updated notes in the JS file