Well, yes, removing "use strict" is one way to "fix" the compilation errors I referred to, and I failed to notice that your version had taken this approach.
Of course, this is usually not the approach that we would want to recommend for people who are having trouble getting their code right.