Added JS for note taking