vim: correct pfun javascript snippet