Assorted fixes for running as a web app

Make sure to hide load mask when up/running
Add semi colon to end of JS statements sent by livepage
 - prevent issues when multiple statements come together
Set authoringIframe source clientHandleId in Javascript  not in mainpage