You are right about the more advanced subjects. I guess, speaking from a college freshman's point of view, I disagree with friends taking courses on subjects that
can be easily learned from a book or tutorial. I think it's important to take classes in subjects that
can't be easily learned through self-teaching.
PHP or jQuery can be easily learned from books and tutorials, while being a great programmer takes much more practice and knowledge of algorithms, data structures, and probably a classic computer science background. So majoring in computer science would be a wise choice, while a jQuery class is unnecessary unless it's required for the major.