make it works in Chrome, fixed links creation and algorithm of deleting