The essence of the web is to be available to all platforms and all browsers. Not to turn users away like M$N did.
JS is the safest and most widely supported scipting language for the web.
Definitely for client side.
Alot can be done server side with PHP, Perl and (ugh)ASP and JSP.
A mixture of the two is the best approach for cross browser compatibilities.