JS Models for TrapIt UI Applications