Jeremy Newman : pass sWebRoot based on BASE to js