var getInteractionType = function (percentWatched) {
return {
'0': '100',
'0.25': '101',
'0.50': '101',
'0.75': '101',
'1': '103'
}[percentWatched];
};
console.log(getInteractionType(0));
console.log(getInteractionType(0.25));
console.log(getInteractionType(0.50));
console.log(getInteractionType(0.75));
console.log(getInteractionType(1));