add method of item.js