jQuery plug-in to apply class and style in DOM