Tweak mozlegacy.js to enable more tests
Also reset group count when reparsing the input
Fix the test case from 'ecma_3/String/15.5.4.14.js'