Resolve P&T Matrix dependency.

I wrapped a conditional around the JavaScript that was attempting to make the datepicker work within a Matrix fieldtype. If Matrix was not initialized on the publish form, the script generated an error that potentially blocked other JavaScript from executing.
Merge pull request #3 from mark-cr/patch-1

Resolve P&T Matrix dependency.