Add JavaScriptInterface annotations to methods

Closes #5 Test XE17.1 compatibility