platform/android+externs: plumbing to run r5js.test.main from Android.