Tool for converting a JavaScript rich website into static pages