Fix a JS err