email js fix for chrome