Fixed JSHint errors.
Binding differently.