remove unused scripts from base template