That looks like it's the token setter JS from the dashboard examples. However, you have require(['jquery', 'underscore', 'splunkjs/mvc', 'util/console'], function($, _, mvc, console) { whereas the...
See more...
That looks like it's the token setter JS from the dashboard examples. However, you have require(['jquery', 'underscore', 'splunkjs/mvc', 'util/console'], function($, _, mvc, console) { whereas the original is require(['jquery', 'underscore', 'splunkjs/mvc'], function($, _, mvc) { have you tried removing the util/console and console declarations