Ajax now works by pub/sub