updated javascript for all only number input boxes, made numbers responsive