fixed undefined variable errors
Merge pull request #500 from 3scale/patch-2

Fixed undefined variable error
Merge branch 'master' of https://github.com/wordnik/swagger-ui