added namespace to js viewmodel