htaccess: added mod_filter check
form.latte: {$form} replaced with <form>
updated JS