Adds ngname snippet for jsmode.