fixes failure of JS error printing
oops, my bad on that last one
ok, does finally fix the JS error reporting problem
Merge branch 'ql-refactor' of github.com:rethinkdb/rethinkdb into ql-refactor