Simplifies and pleases jsHint