Making it work with uglifyjs  #92

Because uglify converts all class names to single letter lower case ones the factory provider automatically get created instead of the class provider. This should help rectify it.