Added code to remove event listeners so they aren't added twice if bind is called again