Fixed JS error

Need to figure out links inside event fields.