update js stuff