added patch for webkit browsers