Progress on /jsapi/ and plugins (issue #547)