add bower and bug fixes