add client javascript and package