Refactoring specs.
Refactoring listener into a prototype method.
Store reference in closure varaible for later unbinding.
Adding dispose method to unbind listener, using in spec teardown.