can we have a built-in upgrade in the front-end? for example the back-end provides the js and dynamically injected into the front end.