Add DOM event for on unpin/pin

Pin and Unpin now dispatchEvent when they got called