This will probably not work.  The second argument to ``mpld3_load_lib`` needs to be a function; by using ``!function(){}()`` here, you're passing it the return value of the anonymous function, not the function itself.