fixed bug when loading a component with no corresponding viewmodel js file