Refactoring bower dependencies management