Create magicring.js