The rest of JSHint warnings/errors eliminated.