rename class property to styleClass, to fix #11