I need some lessons in how to OO in Javascript