js routing

Signed-off-by: Simon Schw <simon@thinkalot.net>