JSHint errors fixed.