UJS / spec runner fixes

bug: opal/opal#629