add publish_xyz.js

add js backend for use on tessel