added JS expanding bar