Micro-framework for object oriented javascript