working object.js