delete magic.js from Header and Footer