revert js and update template.php for jet search