Removed unnecessary parts of button.js