update getSiteUrl method to either use L_Menu_BaseUrl or fallback to a synchronous WebUrlFromPageUrl method.
update getSiteUrl method to either use L_Menu_BaseUrl or fallback to a synchronous WebUrlFromPageUrl method.

RainerAtSpirit/caps