Use CodeMirror RequireMode instead of getScript.

1) this will not get the mode if already on the page
2) this will work when IPython is run with a prefix.