Update JqueryEngineHelper.php

I would like being able to specify more then one id to be called when updated after an ajax request.
I know it is also possible accomplish this, wrapping all tags with and external tag, but I want to have both options.

Due compatibility with apps already coded it checks if parameter is not an array
If not an array (backward compatibility) we use the usual way.