Add aObject.compareObject() to aObject.js