fixed autohash.js to be compatible with new chrome.