Changed deprecated 'bind' method from jQuery to 'on.' All tests pass.