put quotes round 'class' to suit IE

fixes #143