adding protocol for share bridge API delegate
add share JS API delegate to allow for customization