Registered a few funitons for the JS bridge