SES-1019 : Switch to using regex pattern matching for validating
javascript function name