Fix Picky JS to properly use history.js.