Fixed jshint warning regarding undefined variable 'moment'