fixes #3240 JavascriptDriver is outputting "reject" durring testing

Over the shoulder by @VeXocide
Merge branch 'next' into sam_2134_base