What is the recommended way to load the JavaScript SDK into my HTML web app?

Never use the non-versioned library URL in your production app. In other words: * use this: https://cdn.pubnub.com/pubnub.x.y.z.min.js where x.y.z * not this: http://cdn.pubnub.com/pubnub.min.js

NOTE: x.y.z some version number, like 3.7.6. Please use the latest version of the JavaScript SDK. As we release new versions of our JavaScript SDK, you should stay up to date as your release cycle permits.