Added rtdealer.js and did some cleaning on rtreq.js