jquery almost done -- should use temp files!