Fixes #86

Rework documentListener logic so that a listener only exists if a skate listener has been registered.