anchor.diff:  </style>
   <script>
   $(document).ready(function(){
  -var sourceId = "";
  -var destId = "";
  -var startOfMove = true;
  -var playerColour = "${PLAYER.colour}";
  -var gameInfoPanel=$('#gameInfoPanel');
  +var sourceId = "",
  +    destId = "",
  +    startOfMove = true,
  +    playerColour = "${PLAYER.colour}",
  +    gameInfoPanel=$('#gameInfoPanel'),
  +    GAME_STATUS = {
  +            WHITE_CHECKMATE : "WHITE_CHECKMATE",
  +            BLACK_CHECKMATE : "BLACK_CHECKMATE",
  +            STALEMATE : "STALEMATE",
  +            WHITE_IN_CHECK : "WHITE_IN_CHECK",
  +            BLACK_IN_CHECK : "BLACK_IN_CHECK"
  +    };
       
   interact('.draggable')
     .draggable({
  
positive.code:                             }
              });
  	    	
  	    	stompClient.subscribe("/topic/updates",
      	        function(message){
                          console.log("message:" + message.body);
                          if(message.headers.TYPE === "ERROR") {
  
negative.code:                         } else if(message.headers.TYPE === "STATUS") {
                              gameInfoPanel.text(message.body);
                              switch(message.body) {
                              case GAME_STATUS.WHITE_CHECKMATE:
                                      alert("${GAME.opponent.name} has won the game");
                                      break;
                              case GAME_STATUS.BLACK_CHECKMATE:
                                      alert("${GAME.player.name} has won the game");
                                      break;
                              case GAME_STATUS.STALEMATE:
                                      alert("Game has ended in a draw");
                                      break;
                              case GAME_STATUS.WHITE_IN_CHECK:
                                      gameInfoPanel.text("${GAME.player.name}'s king is in check");
                                      break;
                              case GAME_STATUS.BLACK_IN_CHECK:
                                      gameInfoPanel.text("${GAME.opponent.name}'s king is in check");
                                      break;
                              default:
  