Remove variables to object.js