add startTurn code

added javascript. Animal position will now update on browser.