Support __init__ methods in node.js backend