mono: support exporting JS functions to Mono
mono: avoid platform assumptions in tests