postcode js and template.php