Rename 'item' to 'elem'

Variable name 'item' was not supported by IE11