fix runtime error

I change a line in models/common.js to make it work.
Sorry, I create this https://www.npmjs.org/package/azure-media in npm.
I need it in my project...
btw, great job~