JShint on UnitObject