Saved some work as patches
Update code embedded in browser test.