I took the patch but I found a bug. If your dive notes contain newlines then the resulting java script breaks with "unterminated string literal" because when printed out the string literal runs across multiple lines. So you need to find newlines in the strings that you print and convert them into '\n' instead. /D