Tidied up file for JSHint, given it didn't minimise cleanly