Adding Function 1 - Game Won and Game OVer

Creating two new javascripts in my game. One for Game Won function, and
the other for Game Over function.