Overhauled the crafting code, separated the function into a function that gets the recipe from the crafting bench, a function that finds an item matching a recipe, and a function that crafts with the information from those two.

Also extracted the fancy formatting function for "a/an/N item(s)".
Storing the interval variable in main, mostly for debugging so you can clear the ticking as needed.
Now using double quotes rather than single quotes in HTML
Added cheat function. Cause developing is an incremental game is a bit of a pain.