run pegjs with correct arguments