add metamorphosis.js