castorcad.js, dispatch client: use _add_source() instead of deprecated plug()