Javascript part for Symfony2 form collection handling. Written with jQuery