implemented checking website errors that are shown by js in trigger event script