add javascript via assetic to template