Open development tools to see the example calls and results :)
You can access the lib through
window.datetimePeriods