build: "use strict" everything
ui: fixes for strict mode