feature(jshint) add validthis
refactor(cloudfunc) add Entity