Toggled JSHint flags to remove most errors