clean client js