Added bower.json and generalized some