working on a Blog built with JavaScript