Correct JSDoc param name in setDocument comment
Suppress compiler warnings
Add JSDocnannotations for jQuery public api and others as needed to
silence any compiler warnings.