Using Date methods instead of needing helpers
Using String#match instead of RegExp#exec
Using if/else instead of a switch statement
Removing unneeded semicolons.
Cleaning up whitespace and semicolons.