added jquery writedate