Clean up.
Fix JSHint warnings.