Feature: move router id to form url

- replace the session object by passing its parameters either via url (router id) or handling them directly
- fix minor other issues encountered in the process


This script include does no work, but the script is still broken since it requires jquery to be run. Also I can't see any usecase for having the java script there (but I might be a bit clueless here).