vim: add log snippet for js