WIN8: How to define, change and rescue Global Vars in a Javascript Win8 App