Crop image before upload

How can I implement Croppie Croppie - a simple javascript image cropper - Foliotek on Webix,
I found this
https://codepen.io/juscelinobarao/pen/qVyoYq
https://snippet.webix.com/241167d3
how to use this thirdparty js ?

basic implementation
https://snippet.webix.com/wtv6evx7

Thanks @intregal