Improve dependency matching in bower.json to reduce conflicts.