Fine-tune cocoonjs support