Refactored demo implementation.

Added bower.json.
Updated Makefile and compile.js for UglifyJS2.