use strict in most .js files

Except for public/scripts/pages.js, test/libs/dsl.js,
public/scripts/clientserver.js, testserver/clientserver.js
Tests failed in these files when activating strict mode