add bower json
adjust how width/height is calculated for tooltips