form.latte: {$form} replaced with <form>
updated JS