Paginate the webcam page to prevent crashing the browser when loading all webcams at once. Split the code into multiple chunks.