provide an OO class lib for javascript.