moving the page building blocks into javascript files and adding a stories.html page