adding DahuAppJS
adding DahuAppJS
fixing bugs