All source code is available on GitHub
In order to demonstrate the abilities of the library, I decided to create the DjVu.js Viewer. The main idea is to create a plug-in that can be easily included to any web page.
If you have a djvu document that can't be rendered by the DjVu.js Viewer, please send it to me. It's very important, since the djvu format is quite complicated, and I didn't test all code of my library, since I just don't have appropriate examples of djvu files.
And, of course, any contribution is welcome :)