Removed browser-specific code