Formatting routing.js to more readable format
Added specs for testing routing js and updated jsTestDriver accordingly