The Role of JavaScript Libraries