added legacy support change and submit events in ie 6/7/8