Turn on "use strict" in JS

Should have enabled this earlier.