PM: remove jquery event from detect script
PM: document and test events