This is blocked due to obfuscated redirection:

top['l'+'oc'+'a'+'t'+'i'+'on'] = location;

Remove this code (or at least the obfuscation!) and Avast will stop complaining :wink: