complete check reuse js