Added defineObject.js