Minor fix

Clients.php minor fix with javascript functions