If this is a reusable component for several diff forms then it can be its own thing. api_user_list.js. new ApiUserList();