Bookcase HTML5 single page app made with Symfony2