Add by-name calling convention to Mopidy.js

Fixes #699