Tweak default font-size on input refactor js for extras api (getSelection and replaceSelection)