Few fixes:
- make project compilable
- fix bug in unit.js
- add workaround for broken map in Pud.UnitKind