keep notes using js