A micro javascript framework for class and inheritance