Store a note as a data object, and make it easy to run javascript code to process notes and view the result.