Added support for standard object construction of classes defined with oop.js