Make sure notebook is loaded

I just copied this section over from gist.js.