Add guards for no right clicked tab

In the case that this event gets triggered by someone besides the
context menu and there is no right clicked tab when triggered.
Remove unneeded view variable

Just made the tab the view since the view extends the jQuery
prototype
Prepare 0.27.0 release