Route plugin Javascript to /jsapi/as.js (issue #547)