moved object to address jslint issue