remove unused js stuff and improve assetic imports