adding bower and replacing references