Add js event to detect right-click