Javascript application simple framework for Symfony 2