Put the javascript for clicking buttons as separate functions in homepageFunctions.js instead of inline in the html