Update sysDate.js

add amd and cmd compatible mode