updated bower
removed unneeded code for setting diagram width and height