jriappTS code split