let the code pass JSHint without any problems again