updated mifare js