update js and button html