JS toolbox for astronomical software interoperation based on samp.js