blogit.js: Add from emacs-blogit

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>