Fix JSHint errors. Enable strict mode.