javascript oop framework 1.2