Javascript notes in books