Fix 'length' of undefined error for deprecated options
IE8 reserved word "class"

Fixes #29
Merge pull request #30 from markcarver/issues/29

IE8 reserved word "class"
Update version number and run grunt
fix merge conflict