Corrected a couple of JSHint issues.