Add customizability to getAttribute/setAttribute.
Adjust src attributes of script elements in imported html to start from the path of the imported file.
Did the same for href attributes of stylesheets.
This prevents you from having to hardcode the full path of the directory where the component is placed.