loading files from directory with jquery is complete