Uncaught TypeError: Cannot read property 'activateMedia' of undefined
at Object.$v [as activate] (floatbox.js:formatted:224)
The call to fb.activate happens on "document ready". However if I delay the call there is no error, in other cases the error occurs randomly (in cases when the call to fb.activate is further in the code) Apparently something has not loaded yet for the activate function to work. How can I prevent that?