Update scripts/uncompressed/history.js

Security error fixed when session storage calling by setItem method.