send original time to javascript when cancel button clicked