Format Date Using Javascript With Php