ES3 fix for specified collections based on general purpose JS objects (String, Array, etc.)