Fix leak of the getDayOfWeek function into the global scope.
Fix leak of the getDayOfWeek function into the global scope.

Mocaworks/dateformat,Mocaworks/dateformat,felixge/node-dateformat,premasagar/node-dateformat,robinj/node-dateformat,WoeOm/node-dateformat,premasagar/node-dateformat,felixge/node-dateformat,WoeOm/node-dateformat,robinj/node-dateformat