add client JS script