kvz/phpjs — pull request #154 by glenara (2014-03-26 15:33:30+00:00)
Title: 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