Fix JSLint issues in docnosis.