Fixed JSHint finds.