fix overwriting modes in project like IJulia

Current IJulia custom.js works by setting the right option of CodeCell , but do not have (yet) kernelspec. 

This leads to master not using the mode set by IJulia, and defaulting to 'null' which remove highlight.

This seem to do the trick by leaving default highliht mode and/or respecting metadata.language which is set by  alot of projects. 

What about default mode to null in CodeCell, and default to it. So that project that overwrite it like in 2.0 still get highlighted.

Otherwise you force them to have a msg spec v5 kernel if they want to highlight things. 

Envoyé de mon iPhone

> Le 4 nov. 2014 à 18:24, Thomas Kluyver <notifications@github.com> a écrit :
> 
> In IPython/html/static/notebook/js/notebook.js:
> 
> > @@ -1523,7 +1523,7 @@ define([
> >       * @method set_codemirror_mode
> >       */
> >      Notebook.prototype.set_codemirror_mode = function(newmode){
> > -        if (newmode === this.codemirror_mode) {
> > +        if (newmode === this.codemirror_mode || newmode === 'null') {
> I don't think we should do this. I put in a fallback to null quite deliberately so that syntax highlighting would get turned off if you switch to a kernel where any syntax highlighting would be misleading.
> 
> —
> Reply to this email directly or view it on GitHub.