Create magictouch.js