Fixed jQuery callback issue that made the markers disappear.