diff --git a/IPython/frontend/html/notebook/static/notebook/js/codecell.js b/IPython/frontend/html/notebook/static/notebook/js/codecell.js
index 639303b..e37cfe4 100644
--- a/IPython/frontend/html/notebook/static/notebook/js/codecell.js
+++ b/IPython/frontend/html/notebook/static/notebook/js/codecell.js
@@ -67,6 +67,7 @@ var IPython = (function (IPython) {
this.input_prompt_number = null;
this.collapsed = false;
this.default_mode = 'ipython';
+ this.cell_type = "code";
var cm_overwrite_options = {