Removed unused code from Browser helper; code formatting