WIP
Works again, some clunky parts
Change StructType constructor. Make assert() consistent.
Move zlib stuff to zlib.js
Use require.js for loading