Fix javascript.options.strict warning
("anonymous function does not always return a value")
Allow set any locale using right-click on corresponding item