Update ModelWrapper JS to be consistent with new lint rules.