improve Gruntfile.js
null objects - MockElement, add _.forIn