Added alternative script notify mechanism to framework.js for non-HTTPS sites

This unblocks bi-directional messaging when the WebView control in
Windows 8.1/Windows Phone 8.1 is used and the website isn't hosted using
HTTPS