To use this, just click the "Download ZIP" button on the right side of this page. Once it is downloaded and unzipped, find the "index.html" file and open it up. Ta-daaa!
Send me an IGM if you have any questions.
I have modified the stats to what has been outlined here: http://forum.illyriad.co.uk/22feb15-infantry-crafting-changes-now-live_topic6166.html
The original version of this code was written by Stardance. Huge thanks to him for making this.