initial refactor of menu code
added gulp lint, fixed linting errors