Moved routing to it's on JS
Fixed bug initializing Raven document store