D-Bus method calls work

To reproduce the issue mentioned in the previosu commit,
comment out the js = re.sub(r'^\s*//.*\n', '', js, flags=re.MULTILINE)
line which makes the JavaScript code smaller.