Cleaning code for working in Firefox. Delete is valid.