#66 fix

Added date parse helper function from http://www.javascripttoolbox.com