add a button in javascript