Correct js vf ${1} snippet syntax error

Use of ${1} twice rather than ${1} followed by $1 caused vim-snipmate to skip this field.
Merge pull request #452 from lpil/var-fun

Correct js vf ${1} snippet syntax error