refactoring
1. move queryParam checker from js/blog/render.js to js/blog/core.js
2. move some global variables from js/app.js to js/blog/render.js and make
them local
3. update the tutorial