Fixed stupid JS error