add bower.json and component.json

also update jasmine spec to use bower dependencies