add cards in correct order
can now upload the same file multiple times in a row
added returns for cofffee->js speedup