seperated blog javascript from main script file and attached rel to the blog sidebar partial