CRM-11481 - Use JS dependencies from core