inject scripts earlier
improve listener registration
load script on document_start
cleanup