Allow passing WebDoubles via postMessage.