fix plot ajax url