http://bearcatjs.org/ source code