javascript and yasnippet