Bower updates and refactoring.