add client js stub