moved draft/submitted/cancelled selectors to listing.js, fixes frappe/erpnext#1519