use history.js functions now