update js demo