Added bower.json file and fixed a small bug