Implementation that doesn't support JavaScript should be allowed that.

The spec says an implementation MUST support JavaScript if the
underlying *browser* supports it, but there's no practical way of
enforcing that by a test.