refactor
add gxaBaseUrl parameter to widget, and fetch all AJAX resources from this base Url