add code snippets for using JNI.jsm
Merge pull request #3 from leibovic/master

add code snippets for using JNI.jsm