External Javascript libraryin Erpnext Custom page

Hi everyone. i create erpnext custom page and i need to use external javascript library. how can i use javascript libraries like jquery datatable or d3.js in page js.
any help please.
thanks

this is the solution Adding jQuery Datatable from external javascript and CSS style with client-side custom script