Funciton Library for WebPage

includes functions for the buttons in the game