use script.id to store normalized path because script.src will be absolutized