Inject scripts and styles into the DOM with duplicate prevention and completion callback support