Create apparition.js