Added many features to object.js