updated js testing docs
added DtoEncoder class
dto works!