Update tasks/jsduck.js

Adds support for newer version of grunt. Fixes #2.