get delete working on os x

this should get the delete working on os x, not too sure how to package this for the chrome web store mind