Move StateUrl to genjs

Requires https://github.com/genialis/genesis/pull/342