Added Javascript routes and Ajax code.
Added Junit tests for Ajax code.