fix demos for xbrowser