Corrected JSHint issues.