Apply bower and install dependencies.