A basic JS bridge to call javascript external context function, seamlessly working on mac/ios/android/...