fixing some number conversion probs in bad browsers...