checking for jDate object should'nt be dependent on it's name

while uglifyjs changes object names the privious version wasn't working properly