Javascript Format Phone Number While Typing