There's an extra new-line (or something) being returned by file.date, which this version trims off in order to not break the JSONP response. You can try it out in your fav' browser with something like: http://127.0.0.1:8080/browse.jsonp.html?callback=jsonp&dir=c:/ - the jQuery usage would be sim...