add js-mode lambda snippet