Update preventdefault code to not include intercom