Modernizr has to happen before the storyteller script to utilise the feature detection capabilities.