site.js: improve

Define more meaningful names etc.