provides jquery functions to symfony2