Update signaturevalidator.js

Update variable return type

Jira issue: WP-123