Added the button.js code

The code has basic buttons and some basic actions related to buttons.