Fix popup for vendored scripts