milliseconds should be optional

Nice and useful plugin. However, it outputs NaN on timestamps that doesn't have three millisecond digits. This pull request will fix that.

Thanks
Jonas