Modify blog.js to make use of ikd.js

* introduce ikd.js for message passing.
* separate xhr.js.
* function in blog.js are now under "blog" namespace.