How can I use JavaScript or jQuery to use Hebrew/Jewish calendar dates in my code?

Specifically, I need to make an if/else statement that changes the content based on the Jewish month, Parsha, and date.

https://www.hebcal.com/home/developer-apis

I was told that this link has what I need, but I don’t know how to access it…