reduce server request by modifying api/jbuilder and js models