The type of quotes shouldn't make a difference - and yes, 85k would be way too much :)
The module you seem to be including is only 20k, but even so it seems like a lot. It also appears to use XMLHttpRequest, which is a browser API - so it seems unlikely it'd work. There is a REST API (https://www.pubnub.com/docs/pubnub-rest-api-documentation) so especially if you were just publishing it should be quite straightforward.
But if they have an MQTT option, I'd totally suggest using that. It's a lot more standard and the MQTT module is now pretty well tested.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The type of quotes shouldn't make a difference - and yes, 85k would be way too much :)
The module you seem to be including is only 20k, but even so it seems like a lot. It also appears to use XMLHttpRequest, which is a browser API - so it seems unlikely it'd work. There is a REST API (https://www.pubnub.com/docs/pubnub-rest-api-documentation) so especially if you were just publishing it should be quite straightforward.
But if they have an MQTT option, I'd totally suggest using that. It's a lot more standard and the MQTT module is now pretty well tested.