Taquin JavaScript/Crafty