"Most websites". Do you have data to support this claim (esp. re: Flash)?
Let's keep something in mind here: JavaScript, when it is used, is used to modify (add, edit, remove) items on the screen - those items are HTML. So, for instance if JavaScript was used to "show" or "hide" a portion on...