workaround Firefox measured text width inaccuracy
latest fixes from Wt, and setInputMask() functionality
added missing file