js client clen ups