Handling the case when the attribute is first undefined and then gets a value
Merge pull request #102 from zveroboyisme/master

Setting the class even when previous value is undefined