Update crafting.js