Seems the javascript linter thinks dot notations are better