Adds conditional Roots bower dependencies, and prompt refactoring