overload ClientScript