Update craftingAPI.js