made dealhand a js file