A javascript client library for JPGDump