added "restrict to numbers" function to input boxes

Sample HTML & JavaScript widget and results page.