This affects directly the user experience because most browsers have a single process that is shared between JavaScript execution and user interface updates and only one operation can be performed at a time.
If I have an onChange event handler that makes a lot of calculations the UI becomes locked.