update js ulr