More changes to collision javascript test.