Fix and Improve :

Add rb.url object in Javascript and move rb.route into rb.url.route
Add redirect function (use it when doc-formate is ajax) in base controller
Code clean-up