create moments with objects
fixed jshint issues
Merge pull request #1055 from icambron/create-with-object

create moments with objects