simple symfony services + JavaScript