Modified editAsset under assets.js file