Fixed timeout function name
Added button.js to layout.xml