I suggest moving SuggestionsViewModel and SuggestionsView definitions to a separate AMD module and make this code create instance of them only.