included button.js in index file