update js for bookmark