Remove the comma (,) at the end of this line
js code:
var oEmails = [
>>>'matejsturm57@hotmail.com',<<<
];
It should be:
js code:
var oEmails = [
>>>'matejsturm57@hotmail.com'<<<
];
It is a symbol used to separate multiple array items. As it is there, the array expects another item and fails when it doesn't find it. As that line of code fails, it would either cause an error and stop, or the code that does run would never find the array item.