Add conditional display of context menu item.

Context menu item only appears if the current file is Javascript.
Fix typo
Merge pull request #58 from geoffstokes/master

Conditional display of context menu item