Use bower for dependencies management

fix #367