```$.loadJQueryAIM().then``` should be used here as you don't handle multiple promises here.