allow notes to be formatted as "pre" white-space
first draft of scaling JS apps