javascript adapter for bugwatch (churn/complexity)