fixed up knockout code; added main view selector