created  the function for the math of the money you have minus the money of the game with using return
made changes to JS but didnt record on smartgit?????