add initial implementation of DCS instant javascript client code