updated grunt build. Not returning smocker module from anonymous function