Slightly cleanup how we load some external js in editXP