Save plugin instance on DOM element