Conditional display of context menu item

This change makes the context menu item visible only if the current file is Javascript.