This is because the Avast Store is unable to load and function correctly without these settings enabled. When you make a purchase via the Avast Store, you may be notified that you need to enable JavaScript and / or cookies in your web browser.
Enabling JavaScript and cookies in your web browser