Update button.js

window for viewport;