A new API has been added to BaseCoreRenderer:
+ public void writeExternalScript(IMobiComponent component, IResponseWriter writer, String url, boolean required)
The required attribute indicates whether the script within the span is required or not; if not required, only the span is rendered. This allows components to add their JavaScript to the page as necessary and have it removed in subsequent updates without causing a large DOM diff. This was added to prevent TabSet from causing a large DOM diff on the carousel page. There may be a variety of other components that need a similar change.
Any further modifications (removal of callback for DomSubtreeMOdified event, ensuring refresh callback also gets registered for full submit), further support for ajax page update, will be done in 1.4 Beta
iScroll 5 to be released shortly, so can be done together for 1.4 Beta