Fix syntax for JS event.
updating XML