add exernal api getSharedPreferences/setSharedPreferences
to let developer in javascript to pass global variable between IE tabs.