#130 - Calling escape_javascript on url for Ajax request.

* This is done to make it compatible to old Rails implementation. Added spec for the same.
* Duplicate routes got inserted in routes.rb as a result of merge. Deleted the dummy route.