Making a couple of classes backwards compatible with JSTalk