Fixed a few more minor things, and created a new html file for testing the results.
Well... tried very hard to have it correctly parse '3pm Wednesday', but finally gave up for a bit. Right now, everything else works fine.
Now, if parsed date is before reference date, one year is added.