remove useless code introduced in an attempt to fix Chrome bug SWC-1486