In the beginning, webpages were static documents, composed of bits of text and some images, with very little interactivity. Then JavaScript came along, and browsers got more and more sophisticated, ...