Change js asset replace to simply re-use old asset object
Change js asset replace to simply re-use old asset object

Fixes #3902

databrary/databrary,databrary/databrary,databrary/databrary,databrary/databrary