make ESlint happy be defining function before it is used
make ESLint happy through explicit break even on default
make ESLint happy through avoiding unused parameters
update to latest Grunt plugins