Update zItem.js

change function and add more prowerful function