when users try to generate license when they access from different locations.
YIKES! Just read this more closely. Don't do this. Don't put API keys in javascript. Don't put API keys in “standalone apps”.
Please read the account security article: https://wyday.com/limelm/help/account-security/
Revoke your API keys now and renegerate them. Then fix whatever it is you're doing.