Modify class of root element and added jquery plugin.