That is often the trend, totally agreed. It does have useful implementations too though. For example this forum engine runs a Javascript timer from when a user starts writing a new post until they hit send, and if it was inhumanly fast then it automatically flags the post as spam and requires manual approval. It’s already caught quite a few copy/pasta spam posts like that here. There is also Javascript involved in the way it optimally rearranges page elements and scales images based on the individual screen size.