File verification in js working