Adobe to donate script code to Mozilla