JSON Working after dynamic div deleted