I am importing form.html into index.html with the following function: This works to creates a new link rel=”import” tag, appending it to the head of index.html. When the link has completed loading, the content from form.html is appended to the main body container. Inside form.html I have a script that gets a handle to a pagination element to attach an