Add try snippet for js-mode.