add buttons and js