Refactored demo implementation.

Added bower.json.