Got the javascript and native code to link up