Javascript Check Type Is Number