some swell updates in Pushstate helper