Make JSHint more strict and repair errors.