Read params from window.name instead of url-fragment, closes #1