jshint complient code but what is wront with new(Class)(config) ?