Delete magic.js