added ajaxify and history.js