fix static/site.js generator