Update buttons.js

Added "this." to avoid error.