Update JqueryEngineHelper.php

Most optimized code