While checking the SDK Documentation in detail for the same purpose. I noticed that the WebSDK based on Javascript can only be used for Enrollment. Not for verification. Attached the specific portion from the SDK Document.
From the Documentation