Proper way to perform a helix API call Using JavaScript

Check the github pages/live example