jQuery: continuing JSDoc

Introducing missing test suites / tightening up typings along the way