add domain helper to postItem.js