Changed grunt to run concat before jshint.
Updated style of JS code to suit the rest of the project.
Updated test case to work in IE and Firefox.