replacing classes with browser hacks