defined JSON protocol in word file, added connection setup on page load