Refactor runInWebPage for issue #71