small change to inline function snippet fo js
autoclose vim plugin