Remove p parameter from constructor.
Add compact and expand functions.
Some docstring cleanup.
Use ArrayBuffer for compact state.
Update to latest version of Igloo.
Dump use of vec2.
Split JS code into multiple files
Update URL of online demo