Moved black bar generation to js.  Also added re-color in js for when items are deleted