The local bank's web server had crashed, and its clients could not log into their accounts or access their money all weekend.
If you need to have a lot of computers running at once you should get a web server to make sure everything goes smoothly.
Javascript does all of its processing on the client side, whereas PHP can process data on a web server before sending the data back over the internet to the client's computer.