[ALOY-951] Social.js built-in throws JS error