you call it magic i call it no-jetsu
check out my html5 game using phaser.js i did : http://seekpunk.6te.net/demo.html
Feel free to mess around with it and if you need any help in developing html5 games you are welcome to communicate with me on whatsapp :+96170594730
or by email : [email protected]
also my github account : https://github.com/balamddine