Figaro and javascript form