Update str_replace.js

php quote: "If search is an array and replace is a string, then this replacement string is used for every value of search."
This mod converts replace to an Array of search.length
Update str_replace.js
Merge pull request #154 from glenara/patch-1

Update str_replace.js