Based on JSHint, updated use of default to "default" so as not to use a reserved word.