I'd say it depends on whom you code for, the purpose of the site, availability demands and possibly revenue related issues.
Let's say you write a site for government transportation services targetting old or disabled people. In this case, I'd say javascript should be used to enhance the experience, not be required.
For facebook, there is a slight risk that the odd individual might not want to use their site since they don't want to turn on javascript or can't do so. Most people will turn it on, or at least specifically allow Facebook to run javascript. Do they need to care about the loss of a few dollar/euro/whatever per week? And what would the cost be to develop a site working without javascript...
If I personally develop anything, of use to others, and I don't care about revenue at all, I will make certain the site requires javascript and doesn't work in IE. I don't care about reaching a certain amount of people, and if they want to use my services, then they have to adapt to my site. Simply because I don't want to do the extra work needed and don't want to hear any complaints about it.
Last I heard a few months back, js was available in about 98% of the browser requests. But I don't remember where that information comes from. It's possible that the numbers would be 99.9% for certain target groups and <50% for others.
But as a general guideline, I'd still recommend using js as an enhancement only.
And if you require js, then make certain you inform everyone who has it turned off. It's highly annoying to find out a site doesn't work after you start trying to use it instead of straight off...