Merge pull request #268 from mgold/dev

Somehow isEmpty got dropped from the docs.
Move function around in docs
Use ByteStrings to make writing html and js a bit faster