Updated ajax-history-functioniality