v8 mack videos, javascript regex only numbers and decimal