f-galloway - Fix JSHint errors.