Update BrowserWars.js

made characters flip when they move in a different direction