Successfully got the components to communicate with callback function! I'm such a JS noob.
Temporary example file used for my benefit.