Using 'default' as a method name is going to cause problems since it is a reserved word. I think I've had to use square brackets sometimes to satisfy gjslint or syntax highlighers.  Since you've got a get() method, please call this one getDefault()