Updated version of site.js