Cleanup code.
JSLint fixed.