switched to json, div for popup