Add linting Makefile.js (fixes #870)