Minor clean up in units.js
Merge branch 'master' into njm_code_tidyup

* master:
  added TODO for theirunit destroy trigger
  added TODO and removed a commented debug statement
  Added a message to Jacob for the myunit destroy trigger
  added a couple of Naz's suggestions for cleaning up the commit
  Fixed the boog
  changed debugLevel to 5
  Pushed bugs to branch
Merge pull request #65 from felamaslen/njm_code_tidyup

Njm code tidyup