Javascript parser for ics files (rfc5545)