JSDoc
Merge pull request #2497 from johnnyreilly/master

JSDoc for $q