history stack adjustments(support for ajax and non ajax + get requests)