GUI: Added {view}-spec.js files for all main views

Change-Id: I75a50ae2689d0ab7863c8bb0546ec72ef8e9e7ea
diff --git a/web/gui/src/main/webapp/app/view/topo2/topo2KeyCommands.js b/web/gui/src/main/webapp/app/view/topo2/topo2KeyCommands.js
index bce5efb..a3b75f5 100644
--- a/web/gui/src/main/webapp/app/view/topo2/topo2KeyCommands.js
+++ b/web/gui/src/main/webapp/app/view/topo2/topo2KeyCommands.js
@@ -56,7 +56,7 @@
         if (add) {
             _.each(add, function (value, key) {
                 // filter out meta properties (e.g. _keyOrder)
-                if (!(key.startsWith('_'))) {
+                if (!(_.startsWith(key, '_'))) {
                     // don't allow re-definition of existing key bindings
                     if (am[key]) {
                         $log.warn('keybind: ' + key + ' already exists');