Merge pull request #701 from vandenoever/nocssonload

Remove the use of onload in <link/> element.
Code cleanups for issues found with JSLint.
Fix JSLint issues in docnosis.
Fix JSLint issues in programs/benchmark.