Fix bug where IE will fail to load view due to wrong typeName

In the 'determineFallbackViewId' function in viewLocator, the code will
attempt to read out constructor function name using a regex. The regex
assume that there are no trailing spaces between the function name and the
paranthesis. IE seem to inject a space there. This causes the function to
return something like 'views/MyConstructor .html' (notice the space)