update js asset