Support `bower.json` configuration file
Split handlers into separate functions