got notes to work with JS