Port configure script to Node, step 7: lint JS files.

Progress on #7.
Merge pull request #200 from nicksay/build-with-node-7

Port configure script to Node, step 7: lint JS files.