Hi Ezgi Mercan,
You can use the Jquery with the help of Html/javascript snippet which is available in marketplace. Download that and copy paste your Js script inside it, then your are gud to go. ihope it will help you.
Use this link to find the widget https://marketplace.mendix.com/link/component/56
Example here