minor change to js viewmodel