Ideally you should to wrap it with this: 
`common.mediator.on('page:story:ready', function(config, context) {
  ...
}`
then use `context` rather than `document` in selectors.

Though of course leave it as it is for now if you have a deadline/presentation :)