diff --git a/IPython/frontend/html/notebook/static/js/notebook.js b/IPython/frontend/html/notebook/static/js/notebook.js
index 5b31d06..8fdfee7 100644
--- a/IPython/frontend/html/notebook/static/js/notebook.js
+++ b/IPython/frontend/html/notebook/static/js/notebook.js
@@ -570,7 +570,7 @@ var IPython = (function (IPython) {
index = Math.max(index,0);
var cell = null;
- if (ncells === 0 || this.is_valid_cell_index(index) || index== ncells) {
+ if (ncells === 0 || this.is_valid_cell_index(index) || index === ncells) {
if (type === 'code') {
cell = new IPython.CodeCell(this.kernel);
cell.set_input_prompt();