Fix error on Completer.DEFAULTS when script is included before document ...

If the script is loaded inside the `<head>` tag, the `Completer.DEFAULTS.appentTo` member will have an invalid reference, because the DOM has not been loaded yet. Implemented lazy loading to address this.