Modified camelize(str) to allow compatibility with old < ie8 browser on fallback mode