Great! Thank you very much.
I've just tried to solve this problem in such a way and it works :)
The only thing, I had to overlook the js code in Visual Studio to find where my variable gets value. I took it from the WebStorage and now my Windows 8 game has the working Share Charm!