Bug 918309 - Import and use public domain JNI.jsm implementation; r=wesj