modularize more functions
add count
add chars, swapCase, escapeHTML, unescapeHTML

add a note to the testpages