Hi -midnight,
No person was around there to hold your computer's pulse, or it must have the been the avast team member,
that was responsible for that specific detection pattern in that avast shield.
It was the javascript detected there that meant the real threat. No human beings involved just bad JavaScript,
that was designed/abused by a cybercriminal of sorts.
JavaScript is a language, invented in the previous century. If not coded and debugged properly,
it can put your computer's inner working at risk.
If at the exams where I am a proctor, one of the students get in an infinite loop with code, as they call it,
so whenever he or she get stuck and cannot code on, they have failed their grade on development coding for instance,
and have to try another time (re-exam).
At the start JavaScript was not ready to go onto the Interwebs, there was not more secure HTML code yet.
Now when you do not code HTML inside JavaScript on webpages they are open to exploits and can be hacked.
Coders are under a lot of time pressure to deliver their code-work, so they work with JavaScript cheat-sheets
next to their compilers, so they can evade most of the loopholes and errors.
In coding like it says in the scriptures it is not "the Truth shall set you free", but "the relevant Knowledge of the Truth will set you free".
It is an interesting world, the world of coding, and I see the wonders and the disasters of it almost on a daily basis
as a volunteer 3rd party cold reconnaissance website security analyst and website error-hunter.
Have a nice day and may G*d bless America, where JavaScript was invented.
polonus aka Damian