added jquery for double click insert