removed async save logic, and reformatted code in item.js