Weather App does not work when I host it with my hosting provider

I was hoping to add the weather app to my website portfolio page, however when I upload the code to my Just Host server I get the following message in the Chrome console:

Deprecation] getCurrentPosition() and watchPosition() no longer work on insecure origins. To use this feature, you should consider switching your application to a secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details.
window.onload @ index.js:119

Does that mean I have to purchase and install a wildcard SSL certificate on my hosting account to be able to run the app?