Try to disable the Sword Blast spell emjlr did. It seems, according to my jngp, having a conflict since it uses a local variable name called main, but thus there is already a function called main in the jass script.
Additionally I didnt copy his inittrigger either. But it all seems to work without those two (I havent tested his spells tho.)