Register hashchange event more cautiously.

Registering a callback for the "hashchange" event should not occur,
before the $.deck plugin was used by the consumer. Otherwise it will
be executed, even if there are no slides to actually operate on.