run javascript commands with output   run javascript commands