Fix documentation / comments; add batteries included JSLibs