read notes in javascript at top of file to see what to do