add a blog example by simplewebjs and fixed some bugs