PEUS-757: fixes for prefs.getSync.

* IE and FF return null instead of undefined if preference is empty or doesn't exist
* change to all browsers to attempt to parse the prefs.getSync return value