Add CodeMirror and set the default mode to ruby
Switch CodeMirror modes depending on the chosen language
Use jQuery to make AJAX requests