amended js tagfor game