ShareObject getLocal not loading data in HTML5

Re-declared variable rawData works in flash but not in html5.
Causing data not loaded when using getLocal

Changing line 88
var rawData = nmeGetLocalStorage().getItem(so.nmeKey);
to 
rawData = nmeGetLocalStorage().getItem(so.nmeKey);