change url after ajax calls using History.js