running cmd from javascript