fixed chrome bug, new bug with history.js