Now I have configured the packaging of the library in a better way I think, samples use require sentences for loading the library, this replace previous window.onload handler.