make js retrieve data from server, add marker