Cleanups; added boundary check on offset; exposed comressHC as compress
Added useJS option for encoder/decoder; added examples using JS
Added browser builds; build.sh