server on js / client on php work