Automated RxJS Code Analysis using Traits