JS: Globalize bp_follow_button_action() function.

See #56.