Please use like http://ical2json.pb.io/http://www.myserver.com/path/to/file.icsSource code and instructions at http://github.com/philippbosch/ical2json.
http://ical2json.pb.io/http://www.myserver.com/path/to/file.ics