dynamically add buttons with js