Add support for a container different of window

Use the new option `container` and specify an element for example `document.querySelector(".main")`
Thus, you can specify any container you want.