add buttons via js