Fix use strict at file scope, thanks to ideas from @pornel