javascript bridge to native code (java, object-c)