Tag Sold and Unsold Products javascripts