fixed event problem where there are no coordinates
removed extra div tag