Makes changes per @kevinsawicki

* Deconstruct event paramaters
* Scope `right-clicked` class removal
* Use `?=` operator in Coffeescript to check if tab is null
* Check `classList` property on mousedown target for .close-icon