item array reset didn't work due to js stupidity on inherited properties, time for ES6