   (if prefix
       (skewer-eval-print-last-expression)
     (if js2-mode-buffer-dirty-p
-        (js2-mode-wait-for-parse #'skewer-eval-last-expression)
+        (js2-mode-wait-for-parse
+         (skewer--save-point #'skewer-eval-last-expression))
       (destructuring-bind (string start end) (skewer-get-last-expression)
         (skewer-flash-region start end)
         (skewer-eval string #'skewer-post-minibuffer)))))

waiting browser and insert the result in the buffer at point."
  (interactive)
  (if js2-mode-buffer-dirty-p
      (js2-mode-wait-for-parse #'skewer-eval-print-last-expression)
    (destructuring-bind (string start end) (skewer-get-defun)
      (skewer-flash-region start end)
      (insert "\n")

waiting browser."
  (interactive)
  (if js2-mode-buffer-dirty-p
      (js2-mode-wait-for-parse (skewer--save-point #'skewer-eval-defun))
    (destructuring-bind (string start end) (skewer-get-defun)
      (skewer-flash-region start end)
      (skewer-eval string #'skewer-post-minibuffer))))
