kvz/phpjs — pull request #135 by joni2back (2014-01-23 11:54:45+00:00)
Title: Reduce duplicate code

do not duplicate the array walk, just check in the same for both cases