add bower and events for selecting a view