Make sure notebook is loaded

Otherwise the extension crashes (i'm using require to load the extension from custom.js, like so:
 
require(["nbextensions/comment-uncomment"], function (gist_extension) {
    console.log('comment-uncomment extension loaded');
});

I just copied this section over from gist.js.