Adds refresh() method to browsers.