Fixed bug when creating the new DOM element which made the plugin discontinuously working...