Adds code to automatically call the plugin on the body element