jQuery plugin to dynamically add classes on an element