getting id works over xhr