fixed problem and added DSF::printJS