Misbehavior of popstate fixed in Router (closes #120)