move is_clean
reorganize some notebook coffeescript
fix help for string
split out most coffeescript stuff