Object-Oriented Javascript Framework