Simplify gotoPage() to prevent duplicate Firefox queries