Removing zero-pads from month numbers. Fixing a bug in JavaScript RegExp.

This is accroding to WP:BADDATEFORMAT:
"Do not "zero-pad" month or day, except in all-numeric (yyyy-mm-dd) format"