Added webkit compatability.