frontend: try to guess rootUrl setting in questionservice.js based on from where client was launched.