Fixed JS error?