Re-formatted code to be normalized across all tests. Completed dom test.
Updated grunt.