pushState - client.js improvements