added objects.js, fixed goTo bug on object