Grunt version of stubbify (https://github.com/isibner/stubbify)