started object.js, replaced clear functions with engine.object.clear()