adjust model js