fix firefox applescript