Load 3rd party scripts on demand with promises