ClientScript callback.