What are the issues? What does the log say? Also you are defining cmpPlayer twice in CanConvert.
At the bottom half of Helpers/Player.js there are some functions that might help clean up your code a bit.
The new Civilian unit is just one unit with two actors randomly assigned at creation, male and female. It makes no sense and it's impossible to apply different gather rates to different actors that are sharing one unit template. You need two templates for that.