Add by-name argument support to Mopidy.js

Fixes #699