Simple as:

console.log $(item.element).attr('class').split(/\s+/)