Port configure script to Node, step 6: build demo app.

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

Port configure script to Node, step 6: build demo app.
Port configure script to Node, step 7: lint JS files.

Progress on #7.