Fixed error d='' in webkit