Combine Javascript classes on the fly #hubspot-open-source