fix JSHint notices