Fix dumb JS error