settings.js: replace some strings with numbers to input type=number