Fix validate number

Noticed that validateNumber JS was misbehaving by allowing some characters (ampersand, percent sign, single quote, open-parenthesis) when it shouldn't.  This seems to work better on Chrome and Firefox; did not test IE.