My fork of sql.js has now be merged into the original version, on kriken's repo.
The good documentation is also available on the original repo.
You should use the newer version of sql.js. It is a port of sqlite 3.8, has a good documentation and is actively maintained (by me). It supports prepared statements, and BLOB data type.