js-mode err snippet