Javascript is suppose to you give you a richer browsing experience. It can detect the browser client that you are using and adjust the content for your viewing pleasure.
The downside is that the web pages can be take a long time to load. Some surfers have started disabling Javascript on their browsers. It seems that now there is another reason to that, the use of Javascript to defeat NYT paywall. link