Create ButtonFunctions.js