use strict and no more linter warnings/errors as far as possible, switch from inline js to separate loaded file