pattern edit

standardized a transform for all browsers