Javascript to Bubble not Publishing Value

From your script, there are three variables declared, but there isn’t any return value. So you need to add a statement “return {the value you want to get};” in order to get the value.
Hope this help. Let me know if there is any question, I can try my best to help you.

Samson