added grunt file for jsdoc3, small fixes