Javascript Format Phone Number With Dashes