Loads markers from db in jquery loop, sets listeners for click events