Almost have the javascript client working again!