upgrade site.js example for new content handling;  cleanup