buttonFunction.js