Finally fixed JavaScript Date Problem using moment.js