some refactoring, stick to one js-file guideline in competitorcards code for easily recognizable code structure