Can't create new tags?

Uncaught TypeError: this.get is not a function

on this line:

if (!term.length || !this.get('allowCreate')) return;

I think it might be a problem of scoping?