Concerning the self=this question, I found a neat article giving som explanations: https://alistapart.com/article/getoutbindingsituations
The other question: Could it be, that node_helper is executed on the server and the main script is executed on the client?