Variable Javascript String To Date